.left-box {
  background-color: #fff;
  padding-left: 10px;
  padding-right: 10px;
  height: 100%;
  border-radius: 6px;

  :deep(.el-tabs) {
    height: 100%;
    position: relative;

  }

  :deep(.el-tabs__content) {
    width: 100%;
    height: 92%;
    position: absolute;
    top: hpx;
    bottom: 0;
  }

  :deep(.el-tab-pane) {
    height: 100%;


  }

  .barrage {
    overflow: auto;
    height: 100%;

    .barrage-msg-list {
      padding-bottom: 2.8rem;
      .barrage-msg-left {
        font-size: 12px;
        display: flex;
        align-items: center;

        .msg-text {
          // margin: 5px 15px;
          margin: 5px 10px 5px 10px;
          position: relative;
          max-width: 20rem;
          // width: 200px;
          height: 1.8rem;
          color: #fff;
          line-height: 1.8rem;
          text-align: center;
          border: 1px solid $color-button-theme ;
          border-radius: 5px;
          background: $color-button-theme ;

          .msg-span{
            margin-left: 10px;
            margin-right: 10px;
          }
        }

        .msg-text::after {
          content: '';
          position: absolute;
          width: 0;
          height: 0;
          /* 箭头靠右边 */
          // top: 13px;
          // right: -10px;
          // border-top: 10px solid transparent;
          // border-bottom: 10px solid transparent;
          // border-left: 10px solid teal;
          /* 箭头靠下边 */
          /* left: 25px;
          bottom: -10px;
          border-left: 10px solid transparent;
          border-right: 10px solid transparent;
          border-top: 10px solid teal; */
          /* 箭头靠左边 */
          top: 3px;
          left: -6px;
          border-top: 6px solid transparent;
          border-bottom: 6px solid transparent;
          border-right: 6px solid $color-button-theme ;
          /* 箭头靠下边 */
          /* top: -10px;
          left: 25px;
          border-left: 10px solid transparent;
          border-right: 10px solid transparent;
          border-bottom: 10px solid teal; */
        }
      }

      .barrage-msg-right{
        font-size: 12px;
        display: flex;
        justify-content: flex-end;
        align-items: center;

        .msg-text {
          // margin: 5px 15px;
          margin: 5px 10px 5px 10px;
          position: relative;
          max-width: 20rem;
          // width: 200px;
          height: 1.8rem;
          color: #fff;
          line-height: 1.8rem;
          text-align: center;
          border: 1px solid $color-button-theme ;
          border-radius: 5px;
          background: $color-button-theme ;

          .msg-span{
            margin-left: 10px;
            margin-right: 10px;
          }
        }

        .msg-text::after {
          content: '';
          position: absolute;
          width: 0;
          height: 0;
          /* 箭头靠右边 */
          top: 3px;
          right: -6px;
          border-top: 6px solid transparent;
          border-bottom: 6px solid transparent;
          border-left: 6px solid $color-button-theme;
          /* 箭头靠下边 */
          /* left: 25px;
          bottom: -10px;
          border-left: 10px solid transparent;
          border-right: 10px solid transparent;
          border-top: 10px solid teal; */
          /* 箭头靠左边 */
          // top: 3px;
          // left: -6px;
          // border-top: 6px solid transparent;
          // border-bottom: 6px solid transparent;
          // border-right: 6px solid $color-button-theme ;
          /* 箭头靠下边 */
          /* top: -10px;
          left: 25px;
          border-left: 10px solid transparent;
          border-right: 10px solid transparent;
          border-bottom: 10px solid teal; */
        }
      }

    }

    .barrage-send {
      z-index: 1;
      background-color: #fff;
      padding-bottom: 10px;
      border-radius: 0px;
      :deep(.el-input__wrapper) {
        border-radius: 30px;
      }

      position: absolute;
      width: 100%;
      bottom: 0px;
      display: flex;
      justify-content: center;
      align-items: center;

      button {
        margin-left: 10px;
      }
    }


    .barrage-prompt {
      background-color: #fff;
      position: absolute;
      width: 100%;
      bottom: 42px;

      .prompt{
        z-index: 1;
        background-color: #fff;
        color: #fff;
        margin-bottom: 4px;
        font-size: 12px;
        border-radius: 20px;
       
        
        display: flex;
        justify-content: center;
        align-items: center;
        background-color:  $color-button-theme;
        width: 100%;
        display: flex;
        
       
        justify-content: center;
        align-items: center;
        .icon{
          width: 14px;
          height: 14px;
        }
      }
    }
  }


  .online{
    .online-list{
      .online-item{
        color: #fff;
        font-size: 12px;
        display: flex;
        margin: 0px 0px 8px 0px;
        align-items: center;
        background: linear-gradient(
                156deg
                , #56c4ff 2%, #2b91ff 85%);
        border-radius: 8px;
        box-shadow: 0px 0px 8px 0px rgb(43 145 255 / 38%);
        width: 100%;

        .online-info {
          display: flex;
          align-items: center;
          margin: 4px 0px 4px 4px;
          
          .username{
            margin-left: 0.6rem;
          }
        }
      }
    }
  }
}